  <div id="mainBody">

    <h3><%= link_to_function "Wallet", "Element.toggle('wallet')" %></h3>
    <div class="operations" id="wallet">
      <table>
        <tbody>

          <% for group in @activeGroups %>
          <%= render :partial => "group", :locals => {:group => group}%>
          <% end %>

        </tbody>
      </table>
    </div>

    <h3><%= link_to_function "History", "Element.toggle('history')" %></h3>
    <div class="operations" id="history" style="display:none;">
      <table>
        <tbody>

          <% for group in @closedGroups %>
          <%= render :partial => "group", :locals => {:group => group}%>
          <% end %>

        </tbody>
      </table>
    </div>

  </div>

